<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>登录</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  <link rel="stylesheet" href="/blog4/css/login.css" type="text/css"></link>
  <script type="text/javascript" src="/blog4/js/jquery-1.3.1.js"></script>
  <script type="text/javascript" src="/blog4/js/login.js"></script></head>
  
  <body>
  <div class="background">
  	 <!-- 表头 -->
  	<jsp:include page="/WEB-INF/jsp/head.jsp"></jsp:include>
    <div class="login">
    	<form action="user/login" method="post">
    		<table>
    			<tr><td id="td1">用户名：</td><td id="td2"><input id="userName" type="text" name="userName"></td><td id="td3"><label id="userNameInfo"></label></td></tr>
    			<tr><td>密码：</td><td><input id="userPassword" type="password" name="userPassword"></td><td><label id="userpwdInfo"></label></td></tr>
    			<tr><td><input id= "submit" type="submit" value="登录"></td><td><a href="${pageContext.request.contextPath}/user/gotoRegister">注册</a></td></tr>
    		</table>
    	</form>
    </div>
  </div>
 
  </body>
</html>
